<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>AmpleHarvest: cTABLE_Drop_Down_Options.php Source File</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">AmpleHarvest
   &#160;<span id="projectnumber">0.0.1</span>
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('c_t_a_b_l_e___drop___down___options_8php.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="headertitle">
<div class="title">cTABLE_Drop_Down_Options.php</div>  </div>
</div>
<div class="contents">
<a href="c_t_a_b_l_e___drop___down___options_8php.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 &lt;?php
<a name="l00005"></a>00005         use\ampleharvest\code;
<a name="l00006"></a>00006         require_once dirname(dirname(dirname(__FILE__))) . <span class="stringliteral">&#39;/config/cConfig.php&#39;</span>;
<a name="l00010"></a>00010         require_once code\cConfig::C_STR_DATABASE_LIB_PATH . <span class="stringliteral">&quot;/Classes/cTable.php&quot;</span>;
<a name="l00014"></a>00014         require_once code\cConfig::C_STR_DATABASE_LIB_PATH . <span class="stringliteral">&quot;/Classes/ColTypes.php&quot;</span>;
<a name="l00015"></a>00015 
<a name="l00016"></a>00016         require_once <span class="stringliteral">&quot;cTABLE_Drop_Down.php&quot;</span>;
<a name="l00017"></a>00017 
<a name="l00035"></a><a class="code" href="classc_t_a_b_l_e___drop___down___options.html">00035</a>         <span class="keyword">class </span><a class="code" href="classc_t_a_b_l_e___drop___down___options.html" title="Includes the base class for Tables (uses base path from the cinfo file.">cTABLE_Drop_Down_Options</a> <span class="keyword">extends</span> cTable
<a name="l00036"></a>00036         {
<a name="l00041"></a><a class="code" href="classc_t_a_b_l_e___drop___down___options.html#ad077898da1668be20c85ec881a673c2e">00041</a>                 <span class="keyword">public</span> <a class="code" href="classc_t_a_b_l_e___drop___down___options.html#ad077898da1668be20c85ec881a673c2e">$m_int_COL_ID</a> = null;
<a name="l00042"></a><a class="code" href="classc_t_a_b_l_e___drop___down___options.html#a746106148106a4f778731e7f0bef804c">00042</a>                 <span class="keyword">public</span> <a class="code" href="classc_t_a_b_l_e___drop___down___options.html#a746106148106a4f778731e7f0bef804c">$m_int_COL_DropDown_ID</a> = null;
<a name="l00043"></a><a class="code" href="classc_t_a_b_l_e___drop___down___options.html#a66dd57e834b2c0738a9f99cf32a484c4">00043</a>                 <span class="keyword">public</span> <a class="code" href="classc_t_a_b_l_e___drop___down___options.html#a66dd57e834b2c0738a9f99cf32a484c4">$m_int_COL_Order</a> = null;
<a name="l00044"></a><a class="code" href="classc_t_a_b_l_e___drop___down___options.html#aedffcba43751d67cce26b81315fba90a">00044</a>                 <span class="keyword">public</span> <a class="code" href="classc_t_a_b_l_e___drop___down___options.html#aedffcba43751d67cce26b81315fba90a">$m_int_COL_Name</a> = null;
<a name="l00045"></a><a class="code" href="classc_t_a_b_l_e___drop___down___options.html#a742460a95308e09a9cf0a1aa3e5f5bdf">00045</a>                 <span class="keyword">public</span> <a class="code" href="classc_t_a_b_l_e___drop___down___options.html#a742460a95308e09a9cf0a1aa3e5f5bdf">$m_int_COL_Value</a> = null;
<a name="l00046"></a><a class="code" href="classc_t_a_b_l_e___drop___down___options.html#a53caddfc5eeb4ae1f1d6dbf43cb562cb">00046</a>                 <span class="keyword">public</span> <a class="code" href="classc_t_a_b_l_e___drop___down___options.html#a53caddfc5eeb4ae1f1d6dbf43cb562cb">$m_int_COL_Lable</a> = null;
<a name="l00054"></a><a class="code" href="classc_t_a_b_l_e___drop___down___options.html#a095c5d389db211932136b53f25f39685">00054</a>                 <span class="keyword">public</span> <span class="keyword">function</span> <a class="code" href="classc_t_a_b_l_e___drop___down___options.html#a095c5d389db211932136b53f25f39685" title="This constructor sets all the required column data.">__construct</a>()
<a name="l00055"></a>00055                 {
<a name="l00056"></a>00056                         $this-&gt;m_str_TableName = <span class="stringliteral">&quot;drop_down_options&quot;</span>;
<a name="l00057"></a>00057                         $this-&gt;set_Engine(self::C_STR_ENGINE_INNODB);
<a name="l00058"></a>00058 
<a name="l00059"></a>00059                         <span class="comment">//Create Column Objects</span>
<a name="l00060"></a>00060                         $obj_COL_ID = <span class="keyword">new</span> cColVarChar(<span class="stringliteral">&quot;id&quot;</span>);
<a name="l00061"></a>00061                         $obj_COL_ID-&gt;set_Length(36);
<a name="l00062"></a>00062                         $obj_COL_ID-&gt;set_Index(abs_Column::c_int_INDEX_PRIMARY);
<a name="l00063"></a>00063                         $obj_COL_ID-&gt;set_Comment(<span class="stringliteral">&quot;This column holds the ID of the Drop Down Option.&quot;</span>);
<a name="l00064"></a>00064                         $obj_COL_ID-&gt;set_Editable(<span class="keyword">false</span>);
<a name="l00065"></a>00065                         $obj_COL_ID-&gt;set_Label(<span class="stringliteral">&quot;ID&quot;</span>);
<a name="l00066"></a>00066 
<a name="l00067"></a>00067                         $obj_COL_DropDown_ID = <span class="keyword">new</span> cColVarChar(<span class="stringliteral">&quot;dropDownID&quot;</span>);
<a name="l00068"></a>00068                         $obj_COL_DropDown_ID-&gt;set_Null(<span class="keyword">false</span>);
<a name="l00069"></a>00069                         $obj_COL_DropDown_ID-&gt;set_Length(36);
<a name="l00070"></a>00070                         $obj_COL_DropDown_ID-&gt;set_Comment(<span class="stringliteral">&quot;This column holds the ID of the Drop Down that this Option Belongs to.&quot;</span>);
<a name="l00071"></a>00071                         $obj_COL_DropDown_ID-&gt;set_Editable(<span class="keyword">false</span>);
<a name="l00072"></a>00072                         $obj_COL_DropDown_ID-&gt;set_Label(<span class="stringliteral">&quot;Drop Down ID&quot;</span>);
<a name="l00073"></a>00073 
<a name="l00074"></a>00074                         $obj_COL_Order = <span class="keyword">new</span> cColInt(<span class="stringliteral">&quot;order&quot;</span>);
<a name="l00075"></a>00075                         $obj_COL_Order-&gt;set_Comment(<span class="stringliteral">&quot;This column holds order in which the item should be displayed in the drop down 0 = top.&quot;</span>);
<a name="l00076"></a>00076                         $obj_COL_Order-&gt;set_Label(<span class="stringliteral">&quot;Order&quot;</span>);
<a name="l00077"></a>00077 
<a name="l00078"></a>00078                         $obj_COL_Name = <span class="keyword">new</span> cColVarChar(<span class="stringliteral">&quot;name&quot;</span>);
<a name="l00079"></a>00079                         $obj_COL_Name-&gt;set_Length(50);
<a name="l00080"></a>00080                         $obj_COL_Name-&gt;set_Comment(<span class="stringliteral">&quot;This column holds the name of the item in the drop down.&quot;</span>);
<a name="l00081"></a>00081                         $obj_COL_Name-&gt;set_Label(<span class="stringliteral">&quot;Name&quot;</span>);
<a name="l00082"></a>00082 
<a name="l00083"></a>00083                         $obj_COL_Value = <span class="keyword">new</span> cColVarChar(<span class="stringliteral">&quot;value&quot;</span>);
<a name="l00084"></a>00084                         $obj_COL_Value-&gt;set_Length(20);
<a name="l00085"></a>00085                         $obj_COL_Value-&gt;set_Null(<span class="keyword">true</span>);
<a name="l00086"></a>00086                         $obj_COL_Value-&gt;set_Comment(<span class="stringliteral">&quot;This column holds the Value assigned to the Drop down Item.&quot;</span>);
<a name="l00087"></a>00087                         $obj_COL_Value-&gt;set_Label(<span class="stringliteral">&quot;Value&quot;</span>);
<a name="l00088"></a>00088 
<a name="l00089"></a>00089                         $obj_COL_Label = <span class="keyword">new</span> cColVarChar(<span class="stringliteral">&quot;label&quot;</span>);
<a name="l00090"></a>00090                         $obj_COL_Label-&gt;set_Null(<span class="keyword">false</span>);
<a name="l00091"></a>00091                         $obj_COL_Label-&gt;set_Length(20);
<a name="l00092"></a>00092                         $obj_COL_Label-&gt;set_Comment(<span class="stringliteral">&quot;This column holds the Label Assigned to the drop down Item.&quot;</span>);
<a name="l00093"></a>00093                         $obj_COL_Label-&gt;set_Label(<span class="stringliteral">&quot;Label&quot;</span>);
<a name="l00094"></a>00094 
<a name="l00095"></a>00095                         <span class="comment">//Set up connection</span>
<a name="l00096"></a>00096                         $this-&gt;m_obj_Connection = <span class="keyword">new</span> cConnection(<span class="stringliteral">&quot;AmpleHarvest&quot;</span>, <span class="stringliteral">&quot;admin&quot;</span>);
<a name="l00097"></a>00097 
<a name="l00098"></a>00098                         <span class="comment">//Activate all Debug options</span>
<a name="l00099"></a>00099                         $this-&gt;m_obj_Connection-&gt;set_DebugLevel(cLog_Connection_Debug::c_int_LEVEL_HIDDEN);
<a name="l00100"></a>00100                         $this-&gt;m_obj_Connection-&gt;set_LogLevel(cLog_Connection::c_int_LEVEL_BASIC);
<a name="l00101"></a>00101                         <span class="comment">//$this-&gt;m_obj_Connection-&gt;activate_Logging();</span>
<a name="l00102"></a>00102                         <span class="comment">//$this-&gt;m_obj_Connection-&gt;activate_LogDebug();</span>
<a name="l00103"></a>00103                         <span class="comment">//$this-&gt;m_obj_Connection-&gt;activate_ScreenDebug();</span>
<a name="l00104"></a>00104 
<a name="l00105"></a>00105                         $this-&gt;m_int_COL_ID = $this-&gt;add_Column($obj_COL_ID);
<a name="l00106"></a>00106                         $this-&gt;m_int_COL_DropDown_ID = $this-&gt;add_Column($obj_COL_DropDown_ID);
<a name="l00107"></a>00107                         $this-&gt;m_int_COL_Lable = $this-&gt;add_Column($obj_COL_Label);
<a name="l00108"></a>00108                         $this-&gt;m_int_COL_Name = $this-&gt;add_Column($obj_COL_Name);
<a name="l00109"></a>00109                         $this-&gt;m_int_COL_Order = $this-&gt;add_Column($obj_COL_Order);
<a name="l00110"></a>00110                         $this-&gt;m_int_COL_Value = $this-&gt;add_Column($obj_COL_Value);
<a name="l00111"></a>00111                 }
<a name="l00112"></a>00112 
<a name="l00116"></a><a class="code" href="classc_t_a_b_l_e___drop___down___options.html#abf4ebfd7b53260f485e0d4cdc00da5a5">00116</a>                 <span class="keyword">public</span> <span class="keyword">function</span> <a class="code" href="classc_t_a_b_l_e___drop___down___options.html#abf4ebfd7b53260f485e0d4cdc00da5a5">insert_DetaultData</a>()
<a name="l00117"></a>00117                 {
<a name="l00118"></a>00118                         <span class="keywordflow">return</span> $this-&gt;<a class="code" href="classc_t_a_b_l_e___drop___down___options.html#a0001ac169d54c3f492f107fb76d678c2">insert_DefaultData</a>();
<a name="l00119"></a>00119                 }
<a name="l00120"></a>00120 
<a name="l00121"></a><a class="code" href="classc_t_a_b_l_e___drop___down___options.html#a0001ac169d54c3f492f107fb76d678c2">00121</a>                 <span class="keyword">public</span> <span class="keyword">function</span> <a class="code" href="classc_t_a_b_l_e___drop___down___options.html#a0001ac169d54c3f492f107fb76d678c2">insert_DefaultData</a>()
<a name="l00122"></a>00122                 {
<a name="l00123"></a>00123                         <span class="comment">//Scheculde Query Data</span>
<a name="l00124"></a>00124                         $this-&gt;set_id(<span class="stringliteral">&quot;00E0B669-FCAE-421F-B5A8-78CE8E7C6CC4&quot;</span>);
<a name="l00125"></a>00125                         $this-&gt;set_dropDownID(<a class="code" href="classc_t_a_b_l_e___drop___down.html#a7aaa966ac9686c570978feb295439b0d">cTABLE_Drop_Down::C_STR_DROPDOWN_QUERY_SCHEDULE</a>);
<a name="l00126"></a>00126                         $this-&gt;set_name(<span class="stringliteral">&quot;None&quot;</span>);
<a name="l00127"></a>00127                         $this-&gt;set_order(0);
<a name="l00128"></a>00128                         $this-&gt;set_value(<span class="stringliteral">&quot;- - - -&quot;</span>);
<a name="l00129"></a>00129                         $this-&gt;set_label(<span class="stringliteral">&quot;None&quot;</span>);
<a name="l00130"></a>00130 
<a name="l00131"></a>00131                         $this-&gt;<a class="code" href="classc_t_a_b_l_e___drop___down___options.html#a42e7dcfc7851c0dedcafb63968ffbc02" title="Saves Information to the Database.">save_Data2DB</a>();
<a name="l00132"></a>00132 
<a name="l00133"></a>00133                         $this-&gt;set_id(<span class="stringliteral">&quot;6C35AD8F-A8F1-41A7-A2B4-7FD5EA23A9DA&quot;</span>);
<a name="l00134"></a>00134                         $this-&gt;set_dropDownID(<a class="code" href="classc_t_a_b_l_e___drop___down.html#a7aaa966ac9686c570978feb295439b0d">cTABLE_Drop_Down::C_STR_DROPDOWN_QUERY_SCHEDULE</a>);
<a name="l00135"></a>00135                         $this-&gt;set_name(<span class="stringliteral">&quot;Daily Query&quot;</span>);
<a name="l00136"></a>00136                         $this-&gt;set_order(1);
<a name="l00137"></a>00137                         $this-&gt;set_value(<span class="stringliteral">&quot;5 * * *&quot;</span>);
<a name="l00138"></a>00138                         $this-&gt;set_label(<span class="stringliteral">&quot;Daily&quot;</span>);
<a name="l00139"></a>00139 
<a name="l00140"></a>00140                         $this-&gt;<a class="code" href="classc_t_a_b_l_e___drop___down___options.html#a42e7dcfc7851c0dedcafb63968ffbc02" title="Saves Information to the Database.">save_Data2DB</a>();
<a name="l00141"></a>00141 
<a name="l00142"></a>00142                         $this-&gt;set_id(<span class="stringliteral">&quot;0BA84C70-2FAD-49D0-9DBC-490BB82595A8&quot;</span>);
<a name="l00143"></a>00143                         $this-&gt;set_dropDownID(<a class="code" href="classc_t_a_b_l_e___drop___down.html#a7aaa966ac9686c570978feb295439b0d">cTABLE_Drop_Down::C_STR_DROPDOWN_QUERY_SCHEDULE</a>);
<a name="l00144"></a>00144                         $this-&gt;set_name(<span class="stringliteral">&quot;Weekly Query&quot;</span>);
<a name="l00145"></a>00145                         $this-&gt;set_order(2);
<a name="l00146"></a>00146                         $this-&gt;set_value(<span class="stringliteral">&quot;4 * 1 *&quot;</span>);
<a name="l00147"></a>00147                         $this-&gt;set_label(<span class="stringliteral">&quot;Weekly&quot;</span>);
<a name="l00148"></a>00148 
<a name="l00149"></a>00149                         $this-&gt;<a class="code" href="classc_t_a_b_l_e___drop___down___options.html#a42e7dcfc7851c0dedcafb63968ffbc02" title="Saves Information to the Database.">save_Data2DB</a>();
<a name="l00150"></a>00150 
<a name="l00151"></a>00151                         $this-&gt;set_id(<span class="stringliteral">&quot;E6D90C73-A77C-4F19-8F04-CDBF20991A88&quot;</span>);
<a name="l00152"></a>00152                         $this-&gt;set_dropDownID(<a class="code" href="classc_t_a_b_l_e___drop___down.html#a7aaa966ac9686c570978feb295439b0d">cTABLE_Drop_Down::C_STR_DROPDOWN_QUERY_SCHEDULE</a>);
<a name="l00153"></a>00153                         $this-&gt;set_name(<span class="stringliteral">&quot;Monthly Query&quot;</span>);
<a name="l00154"></a>00154                         $this-&gt;set_order(3);
<a name="l00155"></a>00155                         $this-&gt;set_value(<span class="stringliteral">&quot;3 1 * *&quot;</span>);
<a name="l00156"></a>00156                         $this-&gt;set_label(<span class="stringliteral">&quot;Monthly&quot;</span>);
<a name="l00157"></a>00157 
<a name="l00158"></a>00158                         $this-&gt;<a class="code" href="classc_t_a_b_l_e___drop___down___options.html#a42e7dcfc7851c0dedcafb63968ffbc02" title="Saves Information to the Database.">save_Data2DB</a>();
<a name="l00159"></a>00159 
<a name="l00160"></a>00160                         <span class="comment">//Standard Sort Options</span>
<a name="l00161"></a>00161                         $this-&gt;set_id(<span class="stringliteral">&quot;26450EDD-9328-4811-A58F-839C57B24141&quot;</span>);
<a name="l00162"></a>00162                         $this-&gt;set_dropDownID(<a class="code" href="classc_t_a_b_l_e___drop___down.html#a6381b5614501b81a8b43e3c905a8ba29">cTABLE_Drop_Down::C_STR_DROPDOWN_SORT_OPTIONS</a>);
<a name="l00163"></a>00163                         $this-&gt;set_name(<span class="stringliteral">&quot;Score&quot;</span>);
<a name="l00164"></a>00164                         $this-&gt;set_order(0);
<a name="l00165"></a>00165                         $this-&gt;set_value(<span class="stringliteral">&quot;score&quot;</span>);
<a name="l00166"></a>00166                         $this-&gt;set_label(<span class="stringliteral">&quot;Score&quot;</span>);
<a name="l00167"></a>00167 
<a name="l00168"></a>00168                         $this-&gt;<a class="code" href="classc_t_a_b_l_e___drop___down___options.html#a42e7dcfc7851c0dedcafb63968ffbc02" title="Saves Information to the Database.">save_Data2DB</a>();
<a name="l00169"></a>00169 
<a name="l00170"></a>00170                         $this-&gt;set_id(<span class="stringliteral">&quot;CFEBF1D5-6422-49EA-8CDF-E885C5A6412E&quot;</span>);
<a name="l00171"></a>00171                         $this-&gt;set_dropDownID(<a class="code" href="classc_t_a_b_l_e___drop___down.html#a6381b5614501b81a8b43e3c905a8ba29">cTABLE_Drop_Down::C_STR_DROPDOWN_SORT_OPTIONS</a>);
<a name="l00172"></a>00172                         $this-&gt;set_name(<span class="stringliteral">&quot;Index Date&quot;</span>);
<a name="l00173"></a>00173                         $this-&gt;set_order(1);
<a name="l00174"></a>00174                         $this-&gt;set_value(<span class="stringliteral">&quot;index_date&quot;</span>);
<a name="l00175"></a>00175                         $this-&gt;set_label(<span class="stringliteral">&quot;Index Date&quot;</span>);
<a name="l00176"></a>00176 
<a name="l00177"></a>00177                         $this-&gt;<a class="code" href="classc_t_a_b_l_e___drop___down___options.html#a42e7dcfc7851c0dedcafb63968ffbc02" title="Saves Information to the Database.">save_Data2DB</a>();
<a name="l00178"></a>00178 
<a name="l00179"></a>00179                         $this-&gt;set_id(<span class="stringliteral">&quot;C053353C-0C43-4C6F-81C1-23889F02541E&quot;</span>);
<a name="l00180"></a>00180                         $this-&gt;set_dropDownID(<a class="code" href="classc_t_a_b_l_e___drop___down.html#a6381b5614501b81a8b43e3c905a8ba29">cTABLE_Drop_Down::C_STR_DROPDOWN_SORT_OPTIONS</a>);
<a name="l00181"></a>00181                         $this-&gt;set_name(<span class="stringliteral">&quot;Harvest Date&quot;</span>);
<a name="l00182"></a>00182                         $this-&gt;set_order(2);
<a name="l00183"></a>00183                         $this-&gt;set_value(<span class="stringliteral">&quot;harvest_date&quot;</span>);
<a name="l00184"></a>00184                         $this-&gt;set_label(<span class="stringliteral">&quot;Harvest Date&quot;</span>);
<a name="l00185"></a>00185 
<a name="l00186"></a>00186                         $this-&gt;<a class="code" href="classc_t_a_b_l_e___drop___down___options.html#a42e7dcfc7851c0dedcafb63968ffbc02" title="Saves Information to the Database.">save_Data2DB</a>();
<a name="l00187"></a>00187 
<a name="l00188"></a>00188                         $this-&gt;set_id(<span class="stringliteral">&quot;21E6DD06-31FD-4F86-8154-EEAACD7AD4FA&quot;</span>);
<a name="l00189"></a>00189                         $this-&gt;set_dropDownID(<a class="code" href="classc_t_a_b_l_e___drop___down.html#a6381b5614501b81a8b43e3c905a8ba29">cTABLE_Drop_Down::C_STR_DROPDOWN_SORT_OPTIONS</a>);
<a name="l00190"></a>00190                         $this-&gt;set_name(<span class="stringliteral">&quot;Publish Date&quot;</span>);
<a name="l00191"></a>00191                         $this-&gt;set_order(3);
<a name="l00192"></a>00192                         $this-&gt;set_value(<span class="stringliteral">&quot;publish_date&quot;</span>);
<a name="l00193"></a>00193                         $this-&gt;set_label(<span class="stringliteral">&quot;Publish Date&quot;</span>);
<a name="l00194"></a>00194 
<a name="l00195"></a>00195                         $this-&gt;<a class="code" href="classc_t_a_b_l_e___drop___down___options.html#a42e7dcfc7851c0dedcafb63968ffbc02" title="Saves Information to the Database.">save_Data2DB</a>();
<a name="l00196"></a>00196 
<a name="l00197"></a>00197                         <span class="comment">//Standard Sort Direction</span>
<a name="l00198"></a>00198                         $this-&gt;set_id(<span class="stringliteral">&quot;C57689E5-66E6-4FFC-959C-D53287CB4580&quot;</span>);
<a name="l00199"></a>00199                         $this-&gt;set_dropDownID(<a class="code" href="classc_t_a_b_l_e___drop___down.html#ab25992cc7cbd652c11acea58361e1aa7">cTABLE_Drop_Down::C_STR_DROPDOWN_SORT_DIRECTION</a>);
<a name="l00200"></a>00200                         $this-&gt;set_name(<span class="stringliteral">&quot;Ascending&quot;</span>);
<a name="l00201"></a>00201                         $this-&gt;set_order(0);
<a name="l00202"></a>00202                         $this-&gt;set_value(<span class="stringliteral">&quot;asc&quot;</span>);
<a name="l00203"></a>00203                         $this-&gt;set_label(<span class="stringliteral">&quot;Ascending&quot;</span>);
<a name="l00204"></a>00204 
<a name="l00205"></a>00205                         $this-&gt;<a class="code" href="classc_t_a_b_l_e___drop___down___options.html#a42e7dcfc7851c0dedcafb63968ffbc02" title="Saves Information to the Database.">save_Data2DB</a>();
<a name="l00206"></a>00206 
<a name="l00207"></a>00207                         $this-&gt;set_id(<span class="stringliteral">&quot;E6E0F9EB-8950-4BA8-88E8-5E1B3B5EA9AC&quot;</span>);
<a name="l00208"></a>00208                         $this-&gt;set_dropDownID(<a class="code" href="classc_t_a_b_l_e___drop___down.html#ab25992cc7cbd652c11acea58361e1aa7">cTABLE_Drop_Down::C_STR_DROPDOWN_SORT_DIRECTION</a>);
<a name="l00209"></a>00209                         $this-&gt;set_name(<span class="stringliteral">&quot;Descending&quot;</span>);
<a name="l00210"></a>00210                         $this-&gt;set_order(1);
<a name="l00211"></a>00211                         $this-&gt;set_value(<span class="stringliteral">&quot;desc&quot;</span>);
<a name="l00212"></a>00212                         $this-&gt;set_label(<span class="stringliteral">&quot;Descending&quot;</span>);
<a name="l00213"></a>00213 
<a name="l00214"></a>00214                         $this-&gt;<a class="code" href="classc_t_a_b_l_e___drop___down___options.html#a42e7dcfc7851c0dedcafb63968ffbc02" title="Saves Information to the Database.">save_Data2DB</a>();
<a name="l00215"></a>00215 
<a name="l00216"></a>00216                         <span class="comment">//Harvest Request Status Options</span>
<a name="l00217"></a>00217 
<a name="l00218"></a>00218                         $this-&gt;set_id(<span class="stringliteral">&quot;7DE343C6-C22D-4A28-8554-54393EC26D35&quot;</span>);
<a name="l00219"></a>00219                         $this-&gt;set_dropDownID(<a class="code" href="classc_t_a_b_l_e___drop___down.html#a89d5250c074d26a46bfc10ca45e6a88e">cTABLE_Drop_Down::C_STR_DROPDOWN_HR_STATUS</a>);
<a name="l00220"></a>00220                         $this-&gt;set_name(<span class="stringliteral">&quot;New&quot;</span>);
<a name="l00221"></a>00221                         $this-&gt;set_order(0);
<a name="l00222"></a>00222                         $this-&gt;set_value(<span class="stringliteral">&quot;0&quot;</span>);
<a name="l00223"></a>00223                         $this-&gt;set_label(<span class="stringliteral">&quot;New&quot;</span>);
<a name="l00224"></a>00224 
<a name="l00225"></a>00225                         $this-&gt;<a class="code" href="classc_t_a_b_l_e___drop___down___options.html#a42e7dcfc7851c0dedcafb63968ffbc02" title="Saves Information to the Database.">save_Data2DB</a>();
<a name="l00226"></a>00226 
<a name="l00227"></a>00227                         $this-&gt;set_id(<span class="stringliteral">&quot;E9DBF350-848E-43BD-8169-654C37FEEB17&quot;</span>);
<a name="l00228"></a>00228                         $this-&gt;set_dropDownID(<a class="code" href="classc_t_a_b_l_e___drop___down.html#a89d5250c074d26a46bfc10ca45e6a88e">cTABLE_Drop_Down::C_STR_DROPDOWN_HR_STATUS</a>);
<a name="l00229"></a>00229                         $this-&gt;set_name(<span class="stringliteral">&quot;Received&quot;</span>);
<a name="l00230"></a>00230                         $this-&gt;set_order(1);
<a name="l00231"></a>00231                         $this-&gt;set_value(<span class="stringliteral">&quot;1&quot;</span>);
<a name="l00232"></a>00232                         $this-&gt;set_label(<span class="stringliteral">&quot;Received&quot;</span>);
<a name="l00233"></a>00233 
<a name="l00234"></a>00234                         $this-&gt;<a class="code" href="classc_t_a_b_l_e___drop___down___options.html#a42e7dcfc7851c0dedcafb63968ffbc02" title="Saves Information to the Database.">save_Data2DB</a>();
<a name="l00235"></a>00235 
<a name="l00236"></a>00236                         $this-&gt;set_id(<span class="stringliteral">&quot;AD75092F-FE70-4FDD-97FD-2212B831D115&quot;</span>);
<a name="l00237"></a>00237                         $this-&gt;set_dropDownID(<a class="code" href="classc_t_a_b_l_e___drop___down.html#a89d5250c074d26a46bfc10ca45e6a88e">cTABLE_Drop_Down::C_STR_DROPDOWN_HR_STATUS</a>);
<a name="l00238"></a>00238                         $this-&gt;set_name(<span class="stringliteral">&quot;Evaluating&quot;</span>);
<a name="l00239"></a>00239                         $this-&gt;set_order(2);
<a name="l00240"></a>00240                         $this-&gt;set_value(<span class="stringliteral">&quot;2&quot;</span>);
<a name="l00241"></a>00241                         $this-&gt;set_label(<span class="stringliteral">&quot;Evaluating&quot;</span>);
<a name="l00242"></a>00242 
<a name="l00243"></a>00243                         $this-&gt;<a class="code" href="classc_t_a_b_l_e___drop___down___options.html#a42e7dcfc7851c0dedcafb63968ffbc02" title="Saves Information to the Database.">save_Data2DB</a>();
<a name="l00244"></a>00244 
<a name="l00245"></a>00245                         $this-&gt;set_id(<span class="stringliteral">&quot;B6285EBB-B5E4-447D-8BA3-15CCB8C5381A&quot;</span>);
<a name="l00246"></a>00246                         $this-&gt;set_dropDownID(<a class="code" href="classc_t_a_b_l_e___drop___down.html#a89d5250c074d26a46bfc10ca45e6a88e">cTABLE_Drop_Down::C_STR_DROPDOWN_HR_STATUS</a>);
<a name="l00247"></a>00247                         $this-&gt;set_name(<span class="stringliteral">&quot;Rejected&quot;</span>);
<a name="l00248"></a>00248                         $this-&gt;set_order(3);
<a name="l00249"></a>00249                         $this-&gt;set_value(<span class="stringliteral">&quot;3&quot;</span>);
<a name="l00250"></a>00250                         $this-&gt;set_label(<span class="stringliteral">&quot;Rejected&quot;</span>);
<a name="l00251"></a>00251 
<a name="l00252"></a>00252                         $this-&gt;<a class="code" href="classc_t_a_b_l_e___drop___down___options.html#a42e7dcfc7851c0dedcafb63968ffbc02" title="Saves Information to the Database.">save_Data2DB</a>();
<a name="l00253"></a>00253 
<a name="l00254"></a>00254                         $this-&gt;set_id(<span class="stringliteral">&quot;DDE5D466-E2D2-402B-A261-6E0FF35C5214&quot;</span>);
<a name="l00255"></a>00255                         $this-&gt;set_dropDownID(<a class="code" href="classc_t_a_b_l_e___drop___down.html#a89d5250c074d26a46bfc10ca45e6a88e">cTABLE_Drop_Down::C_STR_DROPDOWN_HR_STATUS</a>);
<a name="l00256"></a>00256                         $this-&gt;set_name(<span class="stringliteral">&quot;Staging&quot;</span>);
<a name="l00257"></a>00257                         $this-&gt;set_order(4);
<a name="l00258"></a>00258                         $this-&gt;set_value(<span class="stringliteral">&quot;4&quot;</span>);
<a name="l00259"></a>00259                         $this-&gt;set_label(<span class="stringliteral">&quot;Staging&quot;</span>);
<a name="l00260"></a>00260 
<a name="l00261"></a>00261                         $this-&gt;<a class="code" href="classc_t_a_b_l_e___drop___down___options.html#a42e7dcfc7851c0dedcafb63968ffbc02" title="Saves Information to the Database.">save_Data2DB</a>();
<a name="l00262"></a>00262 
<a name="l00263"></a>00263                         $this-&gt;set_id(<span class="stringliteral">&quot;EADB805D-B468-4631-A6FA-C3EABC79C5D3&quot;</span>);
<a name="l00264"></a>00264                         $this-&gt;set_dropDownID(<a class="code" href="classc_t_a_b_l_e___drop___down.html#a89d5250c074d26a46bfc10ca45e6a88e">cTABLE_Drop_Down::C_STR_DROPDOWN_HR_STATUS</a>);
<a name="l00265"></a>00265                         $this-&gt;set_name(<span class="stringliteral">&quot;In Progress&quot;</span>);
<a name="l00266"></a>00266                         $this-&gt;set_order(5);
<a name="l00267"></a>00267                         $this-&gt;set_value(<span class="stringliteral">&quot;5&quot;</span>);
<a name="l00268"></a>00268                         $this-&gt;set_label(<span class="stringliteral">&quot;In Progress&quot;</span>);
<a name="l00269"></a>00269 
<a name="l00270"></a>00270                         $this-&gt;<a class="code" href="classc_t_a_b_l_e___drop___down___options.html#a42e7dcfc7851c0dedcafb63968ffbc02" title="Saves Information to the Database.">save_Data2DB</a>();
<a name="l00271"></a>00271 
<a name="l00272"></a>00272                         $this-&gt;set_id(<span class="stringliteral">&quot;CCF0316A-30DE-4863-9931-C35D114F0AEB&quot;</span>);
<a name="l00273"></a>00273                         $this-&gt;set_dropDownID(<a class="code" href="classc_t_a_b_l_e___drop___down.html#a89d5250c074d26a46bfc10ca45e6a88e">cTABLE_Drop_Down::C_STR_DROPDOWN_HR_STATUS</a>);
<a name="l00274"></a>00274                         $this-&gt;set_name(<span class="stringliteral">&quot;Active&quot;</span>);
<a name="l00275"></a>00275                         $this-&gt;set_order(6);
<a name="l00276"></a>00276                         $this-&gt;set_value(<span class="stringliteral">&quot;6&quot;</span>);
<a name="l00277"></a>00277                         $this-&gt;set_label(<span class="stringliteral">&quot;Active&quot;</span>);
<a name="l00278"></a>00278 
<a name="l00279"></a>00279                         $this-&gt;<a class="code" href="classc_t_a_b_l_e___drop___down___options.html#a42e7dcfc7851c0dedcafb63968ffbc02" title="Saves Information to the Database.">save_Data2DB</a>();
<a name="l00280"></a>00280 
<a name="l00281"></a>00281                         $this-&gt;set_id(<span class="stringliteral">&quot;34F1F98F-3E51-4F2E-B209-83D520A2D0F7&quot;</span>);
<a name="l00282"></a>00282                         $this-&gt;set_dropDownID(<a class="code" href="classc_t_a_b_l_e___drop___down.html#a89d5250c074d26a46bfc10ca45e6a88e">cTABLE_Drop_Down::C_STR_DROPDOWN_HR_STATUS</a>);
<a name="l00283"></a>00283                         $this-&gt;set_name(<span class="stringliteral">&quot;Inactive&quot;</span>);
<a name="l00284"></a>00284                         $this-&gt;set_order(7);
<a name="l00285"></a>00285                         $this-&gt;set_value(<span class="stringliteral">&quot;7&quot;</span>);
<a name="l00286"></a>00286                         $this-&gt;set_label(<span class="stringliteral">&quot;Inactive&quot;</span>);
<a name="l00287"></a>00287 
<a name="l00288"></a>00288                         $this-&gt;<a class="code" href="classc_t_a_b_l_e___drop___down___options.html#a42e7dcfc7851c0dedcafb63968ffbc02" title="Saves Information to the Database.">save_Data2DB</a>();
<a name="l00289"></a>00289 
<a name="l00290"></a>00290                         $this-&gt;set_id(<span class="stringliteral">&quot;06E7B59D-D60A-4334-B6A1-524985596C36&quot;</span>);
<a name="l00291"></a>00291                         $this-&gt;set_dropDownID(<a class="code" href="classc_t_a_b_l_e___drop___down.html#a4948483556a51553a855b84967725782">cTABLE_Drop_Down::C_STR_DROPDOWN_HR_TYPE</a>);
<a name="l00292"></a>00292                         $this-&gt;set_name(<span class="stringliteral">&quot;Web Page&quot;</span>);
<a name="l00293"></a>00293                         $this-&gt;set_order(0);
<a name="l00294"></a>00294                         $this-&gt;set_value(<span class="stringliteral">&quot;0&quot;</span>);
<a name="l00295"></a>00295                         $this-&gt;set_label(<span class="stringliteral">&quot;Web Page&quot;</span>);
<a name="l00296"></a>00296 
<a name="l00297"></a>00297                         $this-&gt;<a class="code" href="classc_t_a_b_l_e___drop___down___options.html#a42e7dcfc7851c0dedcafb63968ffbc02" title="Saves Information to the Database.">save_Data2DB</a>();
<a name="l00298"></a>00298 
<a name="l00299"></a>00299                         $this-&gt;set_id(<span class="stringliteral">&quot;B84B3E35-49E2-494F-81F1-5CA4B243C499&quot;</span>);
<a name="l00300"></a>00300                         $this-&gt;set_dropDownID(<a class="code" href="classc_t_a_b_l_e___drop___down.html#a4948483556a51553a855b84967725782">cTABLE_Drop_Down::C_STR_DROPDOWN_HR_TYPE</a>);
<a name="l00301"></a>00301                         $this-&gt;set_name(<span class="stringliteral">&quot;Message Board&quot;</span>);
<a name="l00302"></a>00302                         $this-&gt;set_order(1);
<a name="l00303"></a>00303                         $this-&gt;set_value(<span class="stringliteral">&quot;1&quot;</span>);
<a name="l00304"></a>00304                         $this-&gt;set_label(<span class="stringliteral">&quot;Message Board&quot;</span>);
<a name="l00305"></a>00305 
<a name="l00306"></a>00306                         $this-&gt;<a class="code" href="classc_t_a_b_l_e___drop___down___options.html#a42e7dcfc7851c0dedcafb63968ffbc02" title="Saves Information to the Database.">save_Data2DB</a>();
<a name="l00307"></a>00307 
<a name="l00308"></a>00308                         $this-&gt;set_id(<span class="stringliteral">&quot;8928122F-A6F2-40E3-BE03-E30C3106BC79&quot;</span>);
<a name="l00309"></a>00309                         $this-&gt;set_dropDownID(<a class="code" href="classc_t_a_b_l_e___drop___down.html#a4948483556a51553a855b84967725782">cTABLE_Drop_Down::C_STR_DROPDOWN_HR_TYPE</a>);
<a name="l00310"></a>00310                         $this-&gt;set_name(<span class="stringliteral">&quot;RSS Feed&quot;</span>);
<a name="l00311"></a>00311                         $this-&gt;set_order(2);
<a name="l00312"></a>00312                         $this-&gt;set_value(<span class="stringliteral">&quot;2&quot;</span>);
<a name="l00313"></a>00313                         $this-&gt;set_label(<span class="stringliteral">&quot;RSS Feed&quot;</span>);
<a name="l00314"></a>00314 
<a name="l00315"></a>00315                         $this-&gt;<a class="code" href="classc_t_a_b_l_e___drop___down___options.html#a42e7dcfc7851c0dedcafb63968ffbc02" title="Saves Information to the Database.">save_Data2DB</a>();
<a name="l00316"></a>00316 
<a name="l00317"></a>00317                         $this-&gt;set_id(<span class="stringliteral">&quot;8832D072-3717-4EE7-90CB-178C638D3881&quot;</span>);
<a name="l00318"></a>00318                         $this-&gt;set_dropDownID(<a class="code" href="classc_t_a_b_l_e___drop___down.html#a44614384fe97859a35d77f96a7c18497">cTABLE_Drop_Down::C_STR_DROPDOWN_HR_FREQUENCY</a>);
<a name="l00319"></a>00319                         $this-&gt;set_name(<span class="stringliteral">&quot;Once&quot;</span>);
<a name="l00320"></a>00320                         $this-&gt;set_order(0);
<a name="l00321"></a>00321                         $this-&gt;set_value(<span class="stringliteral">&quot;0&quot;</span>);
<a name="l00322"></a>00322                         $this-&gt;set_label(<span class="stringliteral">&quot;Once&quot;</span>);
<a name="l00323"></a>00323 
<a name="l00324"></a>00324                         $this-&gt;<a class="code" href="classc_t_a_b_l_e___drop___down___options.html#a42e7dcfc7851c0dedcafb63968ffbc02" title="Saves Information to the Database.">save_Data2DB</a>();
<a name="l00325"></a>00325 
<a name="l00326"></a>00326                         $this-&gt;set_id(<span class="stringliteral">&quot;DB919E86-E1F0-42CD-B191-6CC2E2B7A274&quot;</span>);
<a name="l00327"></a>00327                         $this-&gt;set_dropDownID(<a class="code" href="classc_t_a_b_l_e___drop___down.html#a44614384fe97859a35d77f96a7c18497">cTABLE_Drop_Down::C_STR_DROPDOWN_HR_FREQUENCY</a>);
<a name="l00328"></a>00328                         $this-&gt;set_name(<span class="stringliteral">&quot;Daily&quot;</span>);
<a name="l00329"></a>00329                         $this-&gt;set_order(1);
<a name="l00330"></a>00330                         $this-&gt;set_value(<span class="stringliteral">&quot;1&quot;</span>);
<a name="l00331"></a>00331                         $this-&gt;set_label(<span class="stringliteral">&quot;Daily&quot;</span>);
<a name="l00332"></a>00332 
<a name="l00333"></a>00333                         $this-&gt;<a class="code" href="classc_t_a_b_l_e___drop___down___options.html#a42e7dcfc7851c0dedcafb63968ffbc02" title="Saves Information to the Database.">save_Data2DB</a>();
<a name="l00334"></a>00334 
<a name="l00335"></a>00335                         $this-&gt;set_id(<span class="stringliteral">&quot;5CAE7488-C062-4CA6-81CD-7D090F838591&quot;</span>);
<a name="l00336"></a>00336                         $this-&gt;set_dropDownID(<a class="code" href="classc_t_a_b_l_e___drop___down.html#a44614384fe97859a35d77f96a7c18497">cTABLE_Drop_Down::C_STR_DROPDOWN_HR_FREQUENCY</a>);
<a name="l00337"></a>00337                         $this-&gt;set_name(<span class="stringliteral">&quot;Weekly&quot;</span>);
<a name="l00338"></a>00338                         $this-&gt;set_order(2);
<a name="l00339"></a>00339                         $this-&gt;set_value(<span class="stringliteral">&quot;2&quot;</span>);
<a name="l00340"></a>00340                         $this-&gt;set_label(<span class="stringliteral">&quot;Weekly&quot;</span>);
<a name="l00341"></a>00341 
<a name="l00342"></a>00342                         $this-&gt;<a class="code" href="classc_t_a_b_l_e___drop___down___options.html#a42e7dcfc7851c0dedcafb63968ffbc02" title="Saves Information to the Database.">save_Data2DB</a>();
<a name="l00343"></a>00343 
<a name="l00344"></a>00344                         $this-&gt;set_id(<span class="stringliteral">&quot;1B6530DF-AC91-4BA3-9FB3-9ED1DC3F5C9A&quot;</span>);
<a name="l00345"></a>00345                         $this-&gt;set_dropDownID(<a class="code" href="classc_t_a_b_l_e___drop___down.html#a44614384fe97859a35d77f96a7c18497">cTABLE_Drop_Down::C_STR_DROPDOWN_HR_FREQUENCY</a>);
<a name="l00346"></a>00346                         $this-&gt;set_name(<span class="stringliteral">&quot;Monthly&quot;</span>);
<a name="l00347"></a>00347                         $this-&gt;set_order(3);
<a name="l00348"></a>00348                         $this-&gt;set_value(<span class="stringliteral">&quot;3&quot;</span>);
<a name="l00349"></a>00349                         $this-&gt;set_label(<span class="stringliteral">&quot;Monthly&quot;</span>);
<a name="l00350"></a>00350 
<a name="l00351"></a>00351                         $this-&gt;<a class="code" href="classc_t_a_b_l_e___drop___down___options.html#a42e7dcfc7851c0dedcafb63968ffbc02" title="Saves Information to the Database.">save_Data2DB</a>();
<a name="l00352"></a>00352 
<a name="l00353"></a>00353                         $this-&gt;set_id(<span class="stringliteral">&quot;818B7FB4-EB49-4C42-8DB3-6B38B15A8E7A&quot;</span>);
<a name="l00354"></a>00354                         $this-&gt;set_dropDownID(<a class="code" href="classc_t_a_b_l_e___drop___down.html#af5578f5a83453fc3140f6ffbc7a6baf0">cTABLE_Drop_Down::C_STR_DROPDOWN_DEFAULT_YESNO</a>);
<a name="l00355"></a>00355                         $this-&gt;set_name(<span class="stringliteral">&quot;Yes&quot;</span>);
<a name="l00356"></a>00356                         $this-&gt;set_order(0);
<a name="l00357"></a>00357                         $this-&gt;set_value(<span class="stringliteral">&quot;1&quot;</span>);
<a name="l00358"></a>00358                         $this-&gt;set_label(<span class="stringliteral">&quot;Yes&quot;</span>);
<a name="l00359"></a>00359 
<a name="l00360"></a>00360                         $this-&gt;<a class="code" href="classc_t_a_b_l_e___drop___down___options.html#a42e7dcfc7851c0dedcafb63968ffbc02" title="Saves Information to the Database.">save_Data2DB</a>();
<a name="l00361"></a>00361 
<a name="l00362"></a>00362                         $this-&gt;set_id(<span class="stringliteral">&quot;16A4F43C-EC61-4803-9148-F9197F10ABE1&quot;</span>);
<a name="l00363"></a>00363                         $this-&gt;set_dropDownID(<a class="code" href="classc_t_a_b_l_e___drop___down.html#af5578f5a83453fc3140f6ffbc7a6baf0">cTABLE_Drop_Down::C_STR_DROPDOWN_DEFAULT_YESNO</a>);
<a name="l00364"></a>00364                         $this-&gt;set_name(<span class="stringliteral">&quot;No&quot;</span>);
<a name="l00365"></a>00365                         $this-&gt;set_order(1);
<a name="l00366"></a>00366                         $this-&gt;set_value(<span class="stringliteral">&quot;0&quot;</span>);
<a name="l00367"></a>00367                         $this-&gt;set_label(<span class="stringliteral">&quot;No&quot;</span>);
<a name="l00368"></a>00368 
<a name="l00369"></a>00369                         $this-&gt;<a class="code" href="classc_t_a_b_l_e___drop___down___options.html#a42e7dcfc7851c0dedcafb63968ffbc02" title="Saves Information to the Database.">save_Data2DB</a>();
<a name="l00370"></a>00370 
<a name="l00371"></a>00371                         $this-&gt;set_id(<span class="stringliteral">&quot;981D8255-8CE4-4D03-B4FE-8941736C5F5D&quot;</span>);
<a name="l00372"></a>00372                         $this-&gt;set_dropDownID(<a class="code" href="classc_t_a_b_l_e___drop___down.html#a3f44f3a9139b9d7cdfb54dfb7d0f6fac">cTABLE_Drop_Down::C_STR_DROPDOWN_SEARCH_LAYOUT</a>);
<a name="l00373"></a>00373                         $this-&gt;set_name(<span class="stringliteral">&quot;Standard&quot;</span>);
<a name="l00374"></a>00374                         $this-&gt;set_order(0);
<a name="l00375"></a>00375                         $this-&gt;set_value(<span class="stringliteral">&quot;standard&quot;</span>);
<a name="l00376"></a>00376                         $this-&gt;set_label(<span class="stringliteral">&quot;Standard&quot;</span>);
<a name="l00377"></a>00377 
<a name="l00378"></a>00378                         $this-&gt;<a class="code" href="classc_t_a_b_l_e___drop___down___options.html#a42e7dcfc7851c0dedcafb63968ffbc02" title="Saves Information to the Database.">save_Data2DB</a>();
<a name="l00379"></a>00379 
<a name="l00380"></a>00380                         <span class="keywordflow">return</span> <span class="keyword">true</span>;
<a name="l00381"></a>00381                 }
<a name="l00382"></a>00382 
<a name="l00388"></a><a class="code" href="classc_t_a_b_l_e___drop___down___options.html#acbb490790d87e7fdee9fc1d53354947b">00388</a>                 <span class="keyword">public</span> <span class="keyword">function</span> <a class="code" href="classc_t_a_b_l_e___drop___down___options.html#acbb490790d87e7fdee9fc1d53354947b" title="Returns if the id is a valid and existing ID.">validate_ID</a>(<a class="code" href="task__runner_8php.html#a638f33f9a90952d7cebdf44588e8f40b">$str_ID</a>)
<a name="l00389"></a>00389                 {
<a name="l00390"></a>00390                         <span class="comment">// ensure that there is an ID passed and that it is a valid GUID</span>
<a name="l00391"></a>00391                         <span class="keywordflow">if</span> (!empty(<a class="code" href="task__runner_8php.html#a638f33f9a90952d7cebdf44588e8f40b">$str_ID</a>) &amp;&amp; preg_match(self::c_REG_GUID_VALID, <a class="code" href="task__runner_8php.html#a638f33f9a90952d7cebdf44588e8f40b">$str_ID</a>))
<a name="l00392"></a>00392                         {
<a name="l00393"></a>00393                                 $this-&gt;clear_Query();
<a name="l00394"></a>00394                                 $this-&gt;add_ColumnQuery($this-&gt;m_int_COL_ID, <a class="code" href="task__runner_8php.html#a638f33f9a90952d7cebdf44588e8f40b">$str_ID</a>);
<a name="l00395"></a>00395                                 <span class="keywordflow">if</span> ($this-&gt;do_Search() &gt; 0)
<a name="l00396"></a>00396                                 {
<a name="l00397"></a>00397                                         <span class="keywordflow">return</span> <span class="keyword">true</span>;
<a name="l00398"></a>00398                                 }
<a name="l00399"></a>00399                         }
<a name="l00400"></a>00400                         <span class="keywordflow">return</span> <span class="keyword">false</span>;
<a name="l00401"></a>00401                 }
<a name="l00402"></a>00402 
<a name="l00406"></a><a class="code" href="classc_t_a_b_l_e___drop___down___options.html#a42e7dcfc7851c0dedcafb63968ffbc02">00406</a>                 <span class="keyword">public</span> <span class="keyword">function</span> <a class="code" href="classc_t_a_b_l_e___drop___down___options.html#a42e7dcfc7851c0dedcafb63968ffbc02" title="Saves Information to the Database.">save_Data2DB</a>()
<a name="l00407"></a>00407                 {
<a name="l00408"></a>00408                         <span class="keywordflow">if</span> ($this-&gt;<a class="code" href="classc_t_a_b_l_e___drop___down___options.html#acbb490790d87e7fdee9fc1d53354947b" title="Returns if the id is a valid and existing ID.">validate_ID</a>($this-&gt;get_id()))
<a name="l00409"></a>00409                         {
<a name="l00410"></a>00410                                 <span class="keywordflow">return</span> $this-&gt;<a class="code" href="classc_t_a_b_l_e___drop___down___options.html#a8bf8fc7182a41039d94dd975a0b40229" title="This function is used to update data that is already in the database.">update_Data2DB</a>();
<a name="l00411"></a>00411                         }
<a name="l00412"></a>00412                         <span class="keywordflow">else</span>
<a name="l00413"></a>00413                         {
<a name="l00414"></a>00414                                 <span class="keywordflow">return</span> $this-&gt;<a class="code" href="classc_t_a_b_l_e___drop___down___options.html#a2055504e90b0a396c1de85aaad0c80ab" title="This function is used to insert Data into the database.">insert_Data2DB</a>();
<a name="l00415"></a>00415                         }
<a name="l00416"></a>00416 
<a name="l00417"></a>00417                         <span class="keywordflow">return</span> <span class="keyword">false</span>;
<a name="l00418"></a>00418                 }
<a name="l00422"></a><a class="code" href="classc_t_a_b_l_e___drop___down___options.html#a8bf8fc7182a41039d94dd975a0b40229">00422</a>                 <span class="keyword">public</span> <span class="keyword">function</span> <a class="code" href="classc_t_a_b_l_e___drop___down___options.html#a8bf8fc7182a41039d94dd975a0b40229" title="This function is used to update data that is already in the database.">update_Data2DB</a>()
<a name="l00423"></a>00423                 {
<a name="l00424"></a>00424                         <span class="comment">//                      $this-&gt;clear_Update();</span>
<a name="l00425"></a>00425                         <span class="comment">//                      $this-&gt;add_ColumnQuery($this-&gt;m_int_COL_ID, $this-&gt;get_id());</span>
<a name="l00426"></a>00426 
<a name="l00427"></a>00427                         <span class="keywordflow">return</span> <a class="code" href="classc_t_a_b_l_e___drop___down___options.html#a8bf8fc7182a41039d94dd975a0b40229" title="This function is used to update data that is already in the database.">parent::update_Data2DB</a>();
<a name="l00428"></a>00428                 }
<a name="l00432"></a><a class="code" href="classc_t_a_b_l_e___drop___down___options.html#a2055504e90b0a396c1de85aaad0c80ab">00432</a>                 <span class="keyword">public</span> <span class="keyword">function</span> <a class="code" href="classc_t_a_b_l_e___drop___down___options.html#a2055504e90b0a396c1de85aaad0c80ab" title="This function is used to insert Data into the database.">insert_Data2DB</a>()
<a name="l00433"></a>00433                 {
<a name="l00434"></a>00434                         <a class="code" href="task__runner_8php.html#a638f33f9a90952d7cebdf44588e8f40b">$str_ID</a> = $this-&gt;get_id();
<a name="l00435"></a>00435                         <span class="keywordflow">if</span> (empty(<a class="code" href="task__runner_8php.html#a638f33f9a90952d7cebdf44588e8f40b">$str_ID</a>) || (!preg_match(self::c_REG_GUID_VALID, <a class="code" href="task__runner_8php.html#a638f33f9a90952d7cebdf44588e8f40b">$str_ID</a>)))
<a name="l00436"></a>00436                         {
<a name="l00437"></a>00437                                 $this-&gt;set_id($this-&gt;create_GUID());
<a name="l00438"></a>00438                         }
<a name="l00439"></a>00439                         <span class="comment">//                      $this-&gt;set_date(date_format(new datetime(), &quot;Y-m-d H:i:s&quot;));</span>
<a name="l00440"></a>00440                         <span class="keywordflow">return</span> <a class="code" href="classc_t_a_b_l_e___drop___down___options.html#a2055504e90b0a396c1de85aaad0c80ab" title="This function is used to insert Data into the database.">parent::insert_Data2DB</a>();
<a name="l00441"></a>00441                 }
<a name="l00449"></a><a class="code" href="classc_t_a_b_l_e___drop___down___options.html#aa03ca9d56c635eefc9e8ff202de671a1">00449</a>                 <span class="keyword">public</span> <span class="keyword">function</span> <a class="code" href="classc_t_a_b_l_e___drop___down___options.html#aa03ca9d56c635eefc9e8ff202de671a1" title="converts a Value into the label text">convert_Value2Label</a>($str_DropDown, $str_Value)
<a name="l00450"></a>00450                 {
<a name="l00451"></a>00451                         $str_Value = trim($str_Value);
<a name="l00452"></a>00452                         <span class="keywordflow">if</span> (!empty($str_DropDown) &amp;&amp; preg_match(self::c_REG_GUID_VALID, $str_DropDown) &amp;&amp; isset($str_Value))
<a name="l00453"></a>00453                         {
<a name="l00454"></a>00454                                 $this-&gt;clear_Query();
<a name="l00455"></a>00455                                 $this-&gt;add_ColumnQuery($this-&gt;m_int_COL_DropDown_ID, $str_DropDown);
<a name="l00456"></a>00456                                 $this-&gt;add_ColumnQuery($this-&gt;m_int_COL_Value, $str_Value);
<a name="l00457"></a>00457 
<a name="l00458"></a>00458                                 <span class="keywordflow">if</span> ($this-&gt;do_Search() &gt; 0)
<a name="l00459"></a>00459                                 {
<a name="l00460"></a>00460                                         <span class="keywordflow">foreach</span> ($this-&gt;get_ResultSet() as $arr_Result)
<a name="l00461"></a>00461                                         {
<a name="l00462"></a>00462                                                 $this-&gt;clear();
<a name="l00463"></a>00463                                                 $this-&gt;load_DataFromArray($arr_Result);
<a name="l00464"></a>00464                                                 <span class="keywordflow">return</span> $this-&gt;get_label();
<a name="l00465"></a>00465                                         }
<a name="l00466"></a>00466                                 }
<a name="l00467"></a>00467                         }
<a name="l00468"></a>00468                         <span class="keywordflow">return</span> <span class="stringliteral">&quot;&quot;</span>;
<a name="l00469"></a>00469                 }
<a name="l00470"></a>00470         }
<a name="l00471"></a>00471 ?&gt;
</pre></div></div>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="c_t_a_b_l_e___drop___down___options_8php.html">cTABLE_Drop_Down_Options.php</a>      </li>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>


    <li class="footer">Generated on Mon Jan 23 2012 13:34:20 for AmpleHarvest by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.5.1 </li>
   </ul>
 </div>


</body>
</html>
